package jvm.t1;

/**
 * Remarks:
 * Class name :Demo1_4
 * Date :2023/2/8 17:05
 * Author:杨俊源
 */
public class Demo1_4 {
    public static void main(String[] args) throws InterruptedException {
        System.out.println("1...");
        Thread.sleep(2000);
        byte[] array = new byte[102 * 1024 * 10];
        System.out.println("2...");
        Thread.sleep(2000);
        array = null;
        System.gc();
        System.out.println("3...");
        Thread.sleep(100000000L);
    }
}
